package com.wlyuan.open.scanner.domain.quotation;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lijing
 * @description
 */
@Data
public class QuotationDetail implements Serializable {

    private static final long serialVersionUID = -3407160979749276261L;
    private Long id;
    @ApiModelProperty("报价/合约id")
    private Long quotationId;
    @ApiModelProperty("费用类型")
    private Integer type;
    @ApiModelProperty("发货省id")
    private Long fromProvince;
    @ApiModelProperty("发货省名称")
    private String fromProvinceName;
    @ApiModelProperty("发货市id")
    private Long fromCity;
    @ApiModelProperty("发货市名称")
    private String fromCityName;
    @ApiModelProperty("发货区id")
    private Long fromDistrict;
    @ApiModelProperty("发货区名称")
    private String fromDistrictName;
    @ApiModelProperty("发货地址")
    private String fromAddress;
    @ApiModelProperty("收货省id")
    private Long toProvince;
    @ApiModelProperty("收货省名称")
    private String toProvinceName;
    @ApiModelProperty("发货市id")
    private Long toCity;
    @ApiModelProperty("发货市名称")
    private String toCityName;
    @ApiModelProperty("发货区id")
    private Long toDistrict;
    @ApiModelProperty("发货区名称")
    private String toDistrictName;
    @ApiModelProperty("发货地址")
    private String toAddress;
    @ApiModelProperty(value = "车辆类型")
    private Integer vehicleModel;
    @ApiModelProperty(value = "车长")
    private BigDecimal vehicleLength;
    @ApiModelProperty(value = "载重")
    private BigDecimal vehicleWeight;
    @ApiModelProperty(value = "体积")
    private BigDecimal vehicleVolume;
    @ApiModelProperty("计费模式 1 重量 2 体积 2 数量")
    private Integer chargeMode;
    @ApiModelProperty("价格单位")
    private Integer billingUnit;
    @ApiModelProperty("最大值")
    private BigDecimal maxValue;
    @ApiModelProperty("最小值")
    private BigDecimal minValue;
    @ApiModelProperty("价格")
    private BigDecimal price;
    @ApiModelProperty("时效天数")
    private Integer days;
    @ApiModelProperty("备注")
    private String remarks;
    @ApiModelProperty("拒绝原因")
    private String reason;
    @ApiModelProperty("附加费类型")
    private Integer additionType;

    private LocalDateTime createAt;

    @ApiModelProperty("合约零担区间值")
    private List<TemplateDividePriceRange> pricingList;
}
